package cn.hom1.model.enums;

/**
 * 描述
 *
 * @author iksen
 * @date 2019-01-16 09:12
 */
public enum ResponseCode {

  SUCCESS(1,"成功"),
  FAILURE(0,"失败");

  private int code;
  private String message;

  ResponseCode(int code, String message) {
    this.code = code;
    this.message = message;
  }

  public Integer getCode() {
    return code;
  }

  public String getMessage() {
    return message;
  }
}
